Skip to main content
POST
/
api
/
portrait
/
effects
/
face-beauty
Face Beauty
curl --request POST \
  --url https://www.ailabapi.com/api/portrait/effects/face-beauty \
  --header 'Content-Type: multipart/form-data' \
  --header 'ailabapi-api-key: <api-key>' \
  --form 'sharp=<string>' \
  --form 'smooth=<string>' \
  --form 'white=<string>' \
  --form image=@example-file
{
  "request_id": "",
  "log_id": "",
  "error_code": 0,
  "error_code_str": "",
  "error_msg": "",
  "error_detail": {
    "status_code": 200,
    "code": "",
    "code_message": "",
    "message": ""
  },
  "data": {
    "image_url": ""
  }
}

Authorizations

ailabapi-api-key
string
header
required

API Key for authentication

Body

multipart/form-data
image
file
sharp
string

The degree of sharpening (sharpness). shu zhi The higher the degree of sharpening. The higher the degree of sharpening.

smooth
string

Smoothness. The higher the value, the higher the degree of smoothness.

white
string

Whitening degree. The higher the value, the higher the degree of whitening.

Response

200 - application/json

Success

The response is of type object.